home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2202 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: freenet.vancouver.bc.ca!gordonf
  2. From: gordonf@opus.freenet.vancouver.bc.ca (Gordon Fecyk)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Setting DICE 3's variables to MEMF_PUBLIC
  5. Date: 28 Jan 1996 18:38:13 GMT
  6. Organization: Vancouver Regional FreeNet
  7. Message-ID: <4egfql$1lq@milo.freenet.vancouver.bc.ca>
  8. NNTP-Posting-Host: opus.freenet.vancouver.bc.ca
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I did something evil... I wrote OS patches in DICE C.  Registerized 
  12. variables are so useful... but aside fro that,
  13.  
  14. My program (ATE beta 4) doesn't work too well with VMM_3.2.  I didn't 
  15. install VMM yet because I don't believe in it (and it needs MUI) but I 
  16. have a pretty good idea what's happening; I use MEMF_PUBLIC for all my 
  17. AlocVec() and AllocMem() because all this data WILL get accessed 
  18. externally (mainly freshly drawn fonts, etc) but I have no control over 
  19. the memory the DICE startup code allocates, or the memory it sets aside 
  20. for its local variables.  Many of these variables sit within patches, 
  21. which run outside my program's process.  So, VMM comes along and tries to 
  22. set those memory bits in VM, and crash, when a patch gets run.
  23.  
  24. I suppose I could just tell ATE users not to use VM for ATE's data 
  25. (controllable in VMM 3.2) but I would like to prevent troubles myself.  
  26. Any ideas?
  27.  
  28. --
  29. ============================================================// //========
  30. = "I am Gordon Fecyk of Winterpeg. Windows is futile."     // //        =
  31. =  E-MAIL: gordonf@freenet.vancouver.bc.ca                // //         =
  32. =  Fido:   1:153/9105 (Dark Delusions)              \\ \\// //          =
  33. =  Phone:  +1-604-526-8724                           \\ XX //           =
  34. =                                                     \X/\X/            =
  35. = "I am Hitler of BorgSoft. I am the middle inital of William H. Gates. =
  36. =  He has been assimilated.  Resistance was futile.  Heil Windows.      =
  37. =========================================================================
  38. (This signature file is the deranged opinion of one fanatical Amiga user 
  39. and should not be taken seriously... until the Gates Thought Police 
  40. confiscate my Amiga...)
  41.